

#include <config.h>

#ifndef __KLIB_H
#  define __KLIB_H

/* Some types */
#  ifdef CONF_SYS_AMD64
typedef unsigned long int uint64;
typedef unsigned      int uint32;
typedef unsigned    short uint16;
typedef unsigned     char uint8;
typedef uint64 size_t;
#  endif

#  ifdef CONF_SYS_I386
typedef unsigned long long int uint64;
typedef unsigned      long int uint32;
typedef unsigned short uint16;
typedef unsigned char  uint8;
typedef uint32 size_t;
#  endif

/* Functions */
void kzero(char *, size_t);
void kcopy(char *, char *, size_t);
size_t strlen(char *);

#endif
